<!DOCTYPE html> 
<html lang="zh-CN">
<head> 
	<meta http-equiv="X-UA-Compatible" content="IE=Edge">
	<meta charset="utf-8">
	<title></title>
	<link rel="stylesheet" type="text/css" href="${request.contextPath}/css/global.css?v=${timeStamp!''}" />
	<link rel="stylesheet" type="text/css" href="${request.contextPath}/css/dist/datatables.css" />
	<link rel="stylesheet" type="text/css" href="${request.contextPath}/css/system/system.css?v=${timeStamp!''}" />
	<link rel="stylesheet" type="text/css" href="${request.contextPath}/css/font.css?v=${timeStamp!''}">
	<script type="text/javascript" src="${request.contextPath}/js/dist/jquery-2.1.4.min.js"></script>
	<script type="text/javascript" src="${request.contextPath}/js/dist/jquery.validate.js"></script>
	<script type="text/javascript" src="${request.contextPath}/js/dist/jquery.metadata.js"></script>
	<script type="text/javascript" src="${request.contextPath}/js/dist/jquery.dataTables.js"></script>
	<script type="text/javascript" src="${request.contextPath}/js/dist/layer/layer.js"></script>
	<script type="text/javascript" src="${request.contextPath}/js/public.js?v=${timeStamp!''}"></script>
	<script type="text/javascript" src="${request.contextPath}/js/system/service.js"></script>
	<script type="text/javascript" src="${request.contextPath}/js/system/validate.js"></script>
	<script type="text/javascript" src="${request.contextPath}/js/system/role.js?v=${timeStamp!''}"></script>
	<script type="text/javascript">
		var webroot = '${request.contextPath}';
	</script>
</head>
<body>
	<input type="hidden" class="menuId">
	<div class="promiss_continer ca_container clearfix">
		<p><i class="ion ion-location"></i>当前位置：系统 <span>></span>角色管理</p>
		
		<div class="role_datatable">
			<!-- 权限表 -->
			
			<div class="ca_conpad clearfix">
				<div class="ca_wid30 plr15">
					<div class="promiss_btngroup pl0">
					    <@shiro.hasPermission name="ROLE_ADD">
							<button class="cabtn cabtn_default roleadd">新增</button>
						</@shiro.hasPermission>
						<@shiro.hasPermission name="ROLE_EDIT">
							<button class="cabtn cabtn_default roleedit">修改</button>
						</@shiro.hasPermission>
						<@shiro.hasPermission name="ROLE_DEL">
							<button class="cabtn cabtn_danger roledel">删除</button>
						</@shiro.hasPermission>
					</div>
					<table id="datatables" class="dataTable display" style="white-space:nowrap;">
						<thead>
							<tr>
								<th class="trhidden"><input type="hidden" class="checkall" /></th>
								<th>角色名</th>
							</tr>
						</thead>
						<tbody>
						</tbody>
					</table>
				</div>
				<div class="permiss_role plr15">
					<div class="perrole_top">
						<h3>权限列表分配</h3>
						<@shiro.hasPermission name="ROLE_SAVE">
							<button class="cabtn cabtn_warning rolesave">保存</button>
						</@shiro.hasPermission>
					</div>
					
					<div class="roletree">
						
					</div>
				</div>
			</div>
		</div>
	</div>
	
	<!-- 新增 -->
	<div class="roleaddcont pagehide">
		<form id="roleForm" class="roleForm">
			<div class="ca_formgroup">
				<label><i class="red">*</i>角色编码：</label>
				<div class="left">
					<input type="text" name="sysRoleCode" class="ca_control" required>
					<span class="red"></span>
				</div>
			</div>
			<div class="ca_formgroup">
				<label><i class="red">*</i>角色名称：</label>
				<div class="left">
					<input type="text" name="sysRoleName" class="ca_control" required>
					<span class="red"></span>
				</div>
			</div>
		</form>
	</div>
	
</body>
</html>